package com.jbit.hxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jbit.hxy.model.po.WxUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;


public interface WxUserMapper extends BaseMapper<WxUser> {
    /**
     * 根据openid查询用户
     * @param openid
     * @return
     */
    @Select("select * from wx_users where openid=#{openid}")
    WxUser selectUserByOpenid(String openid);

}
